<div class="panel panel-default panel-intro">
    <div  class="base-title">
        商品列表
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a style="display: none" href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                        <a href="javascript:;" class="btn btn-success btn-add {:$auth->check('item/item/add')?'':'hide'}" title="{:__('Add')}" ><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('item/item/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Delete')}</a>
                        <a href="javascript:;" class="btn btn-warning out-warehouse" title="出库" ><i class="fa fa-minus"></i>出库</a>
                        <a href="javascript:;" class="btn btn-info in-warehouse" title="入库"  data-area='["850px","600px"]' ><i class="fa fa-plus"></i>入库</a>
                        <a href="javascript:;" class="btn btn-danger btn-import {:$auth->check('item/item/import')?'':'hide'}" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>
                        <a href="/assets/template/item_template.xlsx" class="btn btn-info in-warehouse" title="批量入库导入模版" >批量入库导入模版</a>
                        <a href="javascript:;" class="btn btn-success print-item {:$auth->check('item/item/add')?'':'hide'}" title="{:__('Add')}" >打印商品码</a>

                    </div>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('item/item/edit')}" 
                           data-operate-del="{:$auth->check('item/item/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
